﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="GalaxySale2014.WebForm1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="CSS/Site.Master.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:GridView ID="GridViewArticles" runat="server" AutoGenerateColumns="False" OnRowCommand="GridViewArticles_RowCommand" CssClass="gridViewArticles">
        <Columns>
            <asp:ImageField DataImageUrlField="ImageUrl">
            </asp:ImageField>
            <asp:BoundField DataField="ArticleId" HeaderText="Article Id" />
            <asp:BoundField DataField="ArticleName" HeaderText="Article Name" />
            <asp:BoundField DataField="UnitPrice" HeaderText="Unit Price" DataFormatString="{0:c0}"></asp:BoundField>
            <asp:TemplateField HeaderText="Quantity">
                <ItemTemplate>
                    <asp:TextBox ID="TextBoxQ" runat="server" TextMode="Number" CssClass="textBoxQ"></asp:TextBox>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:ButtonField ButtonType="Button" Text="Add to Cart" CommandName="AddToCart" />
        </Columns>
    </asp:GridView>
</asp:Content>
